package com.xishu.bo;

import com.xishu.bo.response.Report;
import com.xishu.entity.order.OrderItem;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

public class HomeReport implements Serializable {
    private static final long serialVersionUID = 2725766304183406569L;

    @ApiModelProperty(value = "当天的订单销售额")
    private Double todayOrderPay;

    @ApiModelProperty(value = "当天的订单平均销售额")
    private Double todayOrderPayAvg;

    @ApiModelProperty(value = "过去1周的订单平均销售额")
    private Double lastWeekOrderPayAvg;

    @ApiModelProperty(value = "过去4周的订单平均销售额")
    private Double last4WeekOrderPayAvg;

    @ApiModelProperty(value = "过去6个月的订单平均销售额")
    private Double last6MonthOrderPayAvg;

    @ApiModelProperty(value = "完成支付的订单量")
    private Integer completeOrderNumber;

    @ApiModelProperty(value = "top3的支付方式, 只有y_zh，y_en，value")
    private List<Report> top3PayType;

    @ApiModelProperty(value = "其它支付方式的金额")
    private Double otherPayType;

    @ApiModelProperty(value = "TOP5的菜,itemName_zh,itemName_en表示菜名，reportValue表示金额，count表示数量")
    private List<OrderItem> top5Item;

    @ApiModelProperty(value = "TOP5的品类,catalogName_zh,catalogName_en表示品类名称，reportValue表示金额")
    private List<OrderItem> top5Catalog;

    @ApiModelProperty(value = "过去30天的客流量")
    private int last30daysPerson;

    @ApiModelProperty(value = "过去30天的客单价")
    private Double last30daysAvgPersonCost;

    public int getLast30daysPerson() {
        return last30daysPerson;
    }

    public void setLast30daysPerson(int last30daysPerson) {
        this.last30daysPerson = last30daysPerson;
    }

    public double getLast30daysAvgPersonCost() {
        return last30daysAvgPersonCost;
    }

    public void setLast30daysAvgPersonCost(double last30daysAvgPersonCost) {
        this.last30daysAvgPersonCost = last30daysAvgPersonCost;
    }

    public List<OrderItem> getTop5Catalog() {
        return top5Catalog;
    }

    public void setTop5Catalog(List<OrderItem> top5Catalog) {
        this.top5Catalog = top5Catalog;
    }

    public List<OrderItem> getTop5Item() {
        return top5Item;
    }

    public void setTop5Item(List<OrderItem> top5Item) {
        this.top5Item = top5Item;
    }

    public Double getOtherPayType() {
        return otherPayType;
    }

    public void setOtherPayType(Double otherPayType) {
        this.otherPayType = otherPayType;
    }

    public List<Report> getTop3PayType() {
        return top3PayType;
    }

    public void setTop3PayType(List<Report> top3PayType) {
        this.top3PayType = top3PayType;
    }

    public Integer getCompleteOrderNumber() {
        return completeOrderNumber;
    }

    public void setCompleteOrderNumber(Integer completeOrderNumber) {
        this.completeOrderNumber = completeOrderNumber;
    }

    public Double getTodayOrderPay() {
        return todayOrderPay;
    }

    public void setTodayOrderPay(Double todayOrderPay) {
        this.todayOrderPay = todayOrderPay;
    }

    public Double getTodayOrderPayAvg() {
        return todayOrderPayAvg;
    }

    public void setTodayOrderPayAvg(Double todayOrderPayAvg) {
        this.todayOrderPayAvg = todayOrderPayAvg;
    }

    public Double getLastWeekOrderPayAvg() {
        return lastWeekOrderPayAvg;
    }

    public void setLastWeekOrderPayAvg(Double lastWeekOrderPayAvg) {
        this.lastWeekOrderPayAvg = lastWeekOrderPayAvg;
    }

    public Double getLast4WeekOrderPayAvg() {
        return last4WeekOrderPayAvg;
    }

    public void setLast4WeekOrderPayAvg(Double last4WeekOrderPayAvg) {
        this.last4WeekOrderPayAvg = last4WeekOrderPayAvg;
    }

    public Double getLast6MonthOrderPayAvg() {
        return last6MonthOrderPayAvg;
    }

    public void setLast6MonthOrderPayAvg(Double last6MonthOrderPayAvg) {
        this.last6MonthOrderPayAvg = last6MonthOrderPayAvg;
    }
}
